<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.wrap {
				margin: 150px auto;
				width: 500px;
				height: 500px;
				background-color: #eee;
				position: relative;
			}
			.inner {
				position: absolute;
				top: 50%;
				left: 50%;
				transform:translate(-50%,-50%) ;
				width: 300px;
				height: 150px;
				background-color: #FF6700;
				transition: 1s;
				z-index: 2;
				font-size: 22px;
				font-weight: 800;
				color: #fff;
				text-align: center;
				line-height: 100px;
				overflow: hidden;
			}
			.box {
				position: absolute;
				top: 50%;
				left: 50%;
				transform:translate(-50%,-50%) ;
				width: 300px;
				height: 150px;
				background-color: #425bff;
				transition: 1s;
			}
			.wrap span {
				transition: .5s;
				transform: translateX(300px);
				display: inline-block;
			}
			.wrap:hover span {
				transform:translateX(0) skew(-25deg);
			}
			/* .wrap:hover .box {
				transform:translate(-50%,-50%) skewY(45deg);
			} */
		</style>
	</head>
	<body>
		<div class="wrap">
			<div class="inner"><span>秦皇岛职业技术学院</span></div>
			<div class="box"></div>
		</div>
	</body>
</html>
